package db.queries;

import core.objects.City;
import db.dbTables.AbstractDBTable;
import db.dbTables.DbColumn;
import db.queries.core.BaseObjectQueries;
import db.queries.core.QueriesEnvironment;

public class CityQueries extends BaseObjectQueries<City> {

	@Override
	protected AbstractDBTable getTable() {
		return QueriesEnvironment.getCityTable();
	}
	
	@Override
	protected DbColumn getIDColumn() {
		return QueriesEnvironment.getCityTable().id;
	}

	@Override
	protected DbColumn getNameColumn() {
		return QueriesEnvironment.getCityTable().cityName;
	}
}
